﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UFTLog.aspx.cs" Inherits="UFTLog"
    MasterPageFile="~/Default.master" EnableViewState="false" %>

<%@ Register Assembly="DevExpress.Web.v9.2, Version=9.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxCallback" TagPrefix="dxcb" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v9.2, Version=9.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
    
<asp:Content ContentPlaceHolderID="head" ID="hd" runat="server" EnableViewState="false">

    <script src="UFTLog.js" type="text/javascript"></script>
    <script src="js/LOV.js" type="text/javascript"></script>

    <script src="js/Ajax.js" type="text/javascript"></script>
	<script src="js/FileUpload.js" type="text/javascript"></script>
    <%--

    <script src="js/Datetimepicker.js" type="text/javascript"></script>
    <!-- TinyMCE -->

    <script src="js/tiny_mce.js" type="text/javascript"></script>

    <!-- /TinyMCE -->--%>
    <link href="UFTLog.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ContentPlaceHolderID="leftMenu" ID="leftnav" runat="server" EnableViewState="false">
<% Response.Write(GenerateSideMenu()); %>

</asp:Content>
<asp:Content ContentPlaceHolderID="content" ID="ctnUFTGuest" runat="server"
    EnableViewState="false">
    <div id="pnlUFTGuestTitle">
    </div>
    <div id="pnl_UFTGuest" runat="server">
            </div>
     <fieldset class="m_fs_border" id="fs_UFTLog">
        <legend>
            <a class="lnk" href="javascript:toggle('UFTLog');">
            Choose Event
                </a>
        </legend>
        <dl class="m_fs">
            <div id="div_UFTLog">
            <dxwgv:ASPxGridView ID="dgEventList" KeyFieldName="T_RELATION_EVENT_ID" ClientInstanceName="dgEventList_c"
                runat="server" AutoGenerateColumns="true" Width="100%" Font-Size="Small">
                <Styles Header-HorizontalAlign="Center" AlternatingRow-Enabled="True" Cell-Wrap="true" Cell-Font-Size="Smaller" Header-Wrap="true"
                    Header-Font-Size="Smaller" Header-Font-Bold="true">
                    <Header Wrap="True" Font-Size="Smaller" Font-Bold="True">
                    </Header>
                    <AlternatingRow Enabled="True">
                    </AlternatingRow>
                    <Cell Wrap="True" Font-Size="Smaller">
                    </Cell>
                </Styles>
                <SettingsPager PageSize="10">
                </SettingsPager>
                <%--<Settings ShowFilterBar="Visible" ShowFilterRow="true" ShowFilterRowMenu="true" ShowHorizontalScrollBar="true" />--%>
                <SettingsBehavior AllowSort="true" />
                <%--<ClientSideEvents EndCallback="dgEventList_c_EndCallBack" />--%>
                <Columns>
                    <dxwgv:GridViewDataTextColumn FieldName="CODE" Name="CODE" Caption="CLOSED EVENTS" />
                    <dxwgv:GridViewDataDateColumn FieldName="EVENT_DATE" Name="EVENT_DATE" Caption="EVENT DATE" CellStyle-HorizontalAlign="Center" />
                    <dxwgv:GridViewDataTextColumn FieldName="LOG" Name="LOG" CellStyle-HorizontalAlign="Center">
                        <DataItemTemplate>
                        <%--<%# GetCloseColumnContent( Eval("T_RELATION_EVENT_ID").ToString(), Eval("STATUS_CLOSE").ToString())%>--%>
                        <a href="javascript:AddLog('<%# Eval("T_RELATION_EVENT_ID").ToString() %>');">Log Files</a>
                        </DataItemTemplate>
                    </dxwgv:GridViewDataTextColumn>
                    <%--<dxwgv:GridViewDataTextColumn FieldName="STATUS_CLOSE" Name="STatus CLOSE" CellStyle-HorizontalAlign="Center"></dxwgv:GridViewDataTextColumn>
                    <dxwgv:GridViewDataTextColumn FieldName="STATUS_NEW" Name="STatus New" CellStyle-HorizontalAlign="Center"></dxwgv:GridViewDataTextColumn>--%>
                        
                </Columns>
            </dxwgv:ASPxGridView>
            </div>
        </dl> 
        </fieldset>
    <dxcb:ASPxCallback ID="cbkLog" ClientInstanceName="cbkLog_c" runat="server" OnCallback="cbkLog_Callback">
        <ClientSideEvents CallbackComplete="function(s, e) { cbkLog_c_CallbackComplete(e); }" />
    </dxcb:ASPxCallback>
    
</asp:Content>
